-- GENERATED SPELL FOR [Mottled Razormaw] --


function spell0_1023(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(3427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1023', 30282, 1)
end

function Sorts_1023(pUnit, Event)
local choix_sorts_1023 = math.random(0, 0)
if choix_sorts_1023 == 0 then
pUnit:RegisterEvent('spell0_1023', 1, 1)
end
end

function mob1023_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1023', math.random(1500, 3000), 1)
end

function mob1023_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1023_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1023_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1023, 1, 'mob1023_Action')
RegisterUnitEvent(1023, 2, 'mob1023_Leave')
RegisterUnitEvent(1023, 3, 'mob1023_Kill')
RegisterUnitEvent(1023, 4, 'mob1023_Die')
